Gender identity refers to an individual's internal sense or understanding of their gender. It is how a person perceives themselves in terms of masculinity, femininity, both, neither, or some other way. Gender identity can be different from biological sex assigned at birth due to various reasons such as cultural and social influences, personal experiences, and individual beliefs about what it means to be male or female. It is an important aspect of a person's overall sense of self and plays a significant role in their interactions with others and the world around them.